Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.user.center.actions--actions

This contribution is part of XML component org.nuxeo.ecm.user.center.actions inside nuxeo-user-center-7.10-HF01.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action id="home" label="label.main.tab.home" link="view_home" order="20" type="main_tab">
          <category>MAIN_TABS</category>
        </action>
  • <action icon="/icons/users_groups.png" id="UsersGroupsHome" label="command.manageMembers" link="/user_center_fragment.xhtml" order="60">
          <category>USER_CENTER</category>
          <filter-id>not_anonymous</filter-id>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action id="UsersHome" label="label.userManager.users" link="/users/view_users.xhtml" order="10">
          <category>UsersGroupsHome_sub_tab</category>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action id="GroupsHome" label="label.groupManager.groups" link="/users/view_groups.xhtml" order="20">
          <category>UsersGroupsHome_sub_tab</category>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action icon="/icons/saved_searches.png" id="SavedSearches" label="user.center.saved.searches" link="/user_center_fragment.xhtml" order="70">
          <category>USER_CENTER</category>
          <filter-id>not_anonymous</filter-id>
          <filter id="SavedSearches_has_subtabs">
            <rule grant="false">
              <condition>
                #{webActions.getActionsList('SavedSearches_sub_tab').isEmpty()}
              </condition>
            </rule>
          </filter>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action id="home" label="label.main.tab.home" link="view_home" order="20" type="main_tab">
      <category>MAIN_TABS</category>
    </action>

    <!-- Users and Groups directory -->
    <action icon="/icons/users_groups.png" id="UsersGroupsHome" label="command.manageMembers" link="/user_center_fragment.xhtml" order="60">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_readonly</filter-id>
    </action>
    <action id="UsersHome" label="label.userManager.users" link="/users/view_users.xhtml" order="10">
      <category>UsersGroupsHome_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>
    <action id="GroupsHome" label="label.groupManager.groups" link="/users/view_groups.xhtml" order="20">
      <category>UsersGroupsHome_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>

    <!-- Saved searches -->
    <action icon="/icons/saved_searches.png" id="SavedSearches" label="user.center.saved.searches" link="/user_center_fragment.xhtml" order="70">
      <category>USER_CENTER</category>
      <filter-id>not_anonymous</filter-id>
      <filter id="SavedSearches_has_subtabs">
        <rule grant="false">
          <condition>
            #{webActions.getActionsList('SavedSearches_sub_tab').isEmpty()}
          </condition>
        </rule>
      </filter>
    </action>

  </extension>